import request from '@/utils/request'

//查询项目基本信息和建设信息-----市中心
export function queryCityCenterInfo(data) {
    return request({
      url: '/pc/project/storing_record_second_audit_opinion/query_project_and_constructing_info',
      method: 'POST',
      formData: data
    })
}
//查询意见类型-----市中心
export function queryOpinionType(data) {
    return request({
      url: '/pc/project/storing_record_first_audit/query_opinion_type',
      method: 'POST',
    })
}
//查询附件信息-----市中心
export function queryAttachmentInfo(data) {
  return request({
    url: '/pc/project/storing_record_first_audit/query_enclosure_by_project_id',
    method: 'POST',
    formData:data
  })
}

//查询附件信息-----市中心
export function saveOpinion(data) {
  return request({
    url: '/pc/project/storing_record_first_audit/save_enclosure_opinion',
    method: 'POST',
    data
  })
}
//保存项目入库备案信息要件审查市中心意见(经办人意见)-----市中心
export function saveAgentOpinion(data) {
  return request({
    url: '/pc/project/storing_record_second_audit_opinion/save_agent_opinion',
    method: 'POST',
    data
  })
}
//保存项目入库备案信息要件审查市中心意见(中心分管领导意见)-----市中心
export function saveCenterLeaderOpinion(data) {
  return request({
    url: '/pc/project/storing_record_second_audit_opinion/save_center_leader_opinion',
    method: 'POST',
    data
  })
}
//保存项目入库备案信息要件审查市中心意见(处室负责人意见)-----市中心
export function saveOfficePeopleOpinion(data) {
  return request({
    url: '/pc/project/storing_record_second_audit_opinion/save_office_people_opinion',
    method: 'POST',
    data
  })
}


//查询项目基本信息和预算投资信息-----市局
export function queryUrbanInfo(data) {
    return request({
      url: '/pc/project/storing_record_third_audit_opinion/query_project_and_budget_investment_info',
      method: 'POST',
      formData: data
    })
}

//保存项目入库备案信息要件审查市局意见(耕保处经办人意见)-----市局
export function saveUrbanOpinion(data) {
  return request({
    url: '/pc/project/storing_record_third_audit_opinion/save_agent_opinion',
    method: 'POST',
    data
  })
}

//保存项目入库备案信息要件审查市局意见(耕保处审核人意见)-----市局
export function saveAuditorOpinion(data) {
  return request({
    url: '/pc/project/storing_record_third_audit_opinion/save_auditor_opinion',
    method: 'POST',
    data
  })
}

//保存项目入库备案信息要件审查市局意见(局领导意见)-----市局
export function saveBureauLeaderOpinion(data) {
  return request({
    url: '/pc/project/storing_record_third_audit_opinion/save_bureau_leader_opinion',
    method: 'POST',
    data
  })
}


//查询入库备案通知书
export function queryFilingData(data) {
  return request({
    url: '/pc/project/storing_record_third_audit_opinion/query_filing_data',
    method: 'POST',
    formData: data
  })
}



//查询归档资料(入库备案要件审查意见表)
export function queryFilingDataTable(data) {
  return request({
    url: '/pc/project/storing_record_second_audit_opinion/query_filing_data',
    method: 'POST',
    formData: data
  })
}

// //查询意见(耕保处经办人,耕保处审核人)
// export function queryPeopleShiJuOpinion(data) {
//   return request({
//     url: '/pc/project/storing_record_third_audit_opinion/queryOpinion',
//     method: 'POST',
//     formData: data
//   })
// }

//校验审查意见
export function exportReviewOpinions(data) {
  return request({
    url: '/pc/project/storing_record_first_audit/export_review_opinions',
    method: 'POST',
    formData: data
  })
}

//获取意见（市中心）
export function getCityCenterOpinion(data) {
  return request({
    url: '/pc/project/storing_record_second_audit_opinion/get_opinion',
    method: 'POST',
    formData: data
  })
}

//获取意见（局领导）
export function queryJuOpinion(data) {
  return request({
    url: '/pc/project/storing_record_third_audit_opinion/queryOpinion',
    method: 'POST',
    formData: data
  })
}

//综合监管信息
export function supervisingInfo(data) {
  return request({
    url: '/pc/land/storing_record/supervising_info',
    method: 'POST',
    data
  })
}

//综合监管信息详情
export function supervisingCheck(data) {
  return request({
    url: '/pc/land/storing_record/supervising_check',
    method: 'POST',
    data
  })
}

//入库备案辅助要件审查
export function queryFilingAuditInfo(data) {
  return request({
    url: '/pc/project/storing_record_third_audit_opinion/query_filing_audit_info',
    method: 'POST',
    data
  })
}


//入库备案审查/附件资料
export function queryFilingDataFujian(data) {
  return request({
    url: '/pc/project/storing_record_third_audit_opinion/query_filing_data_check',
    method: 'POST',
    formData: data
  })
}


//审查入库备案地图信息(现状图，单体图，规划图，工程布局图)
export function checkAuditLandStatusMapInfo(data) {
  return request({
    url: '/pc/project/storing_record_third_audit_opinion/05_audit_land_status_map_info',
    method: 'POST',
    data
  })
}


//审查入库备案成果的附件信息
export function checkAuditProjectResultAttachmentInfo(data) {
  return request({
    url: '/pc/project/storing_record_third_audit_opinion/10_audit_project_result_attachment_info',
    method: 'POST',
    data
  })
}

//获取远近景照片
export function queryEarlyEnterpriseCheckImg(data) {
  return request({
    url: '/pc/project/storing_record_third_audit_opinion/query_early_enterprise_check',
    method: 'POST',
    formData: data
  })
}

//获取单体图照片
export function queryEarlyEnterpriseCheckDtt(data) {
  return request({
    url: '/pc/project/storing_record_third_audit_opinion/query_early_enterprise_check_dtt',
    method: 'POST',
    formData: data
  })
}
//获取工程布局图照片
export function queryEarlyEnterpriseCheckGcbjt(data) {
  return request({
    url: '/pc/project/storing_record_third_audit_opinion/query_early_enterprise_check_gcbjt',
    method: 'POST',
    formData: data
  })
}
//获取规划图照片
export function queryEarlyEnterpriseCheckGht(data) {
  return request({
    url: '/pc/project/storing_record_third_audit_opinion/query_early_enterprise_check_ght',
    method: 'POST',
    formData: data
  })
}
//获取现状图照片
export function queryEarlyEnterpriseCheckXzt(data) {
  return request({
    url: '/pc/project/storing_record_third_audit_opinion/query_early_enterprise_check_xzt',
    method: 'POST',
    formData: data
  })
}